<html>

<head>
    <title>Login Page</title>
</head>

<body onload='document.f.username.focus();'>
<h3>Login with Username and Password</h3>
<form name='f' action='/login' method='POST'>
    <table>
        <tr>
            <td>User:</td>
            <td><input type='text' name='username' value=''></td>
        </tr>
        <tr>
            <td>Password:</td>
            <td><input type='password' name='password'/></td>
        </tr>
        <tr>
            <td colspan='2'><input name="submit" type="submit" value="Login"/></td>
        </tr>
    </table>
</form>
<h3>Login with OAuth 2.0</h3>
<table>
    <tr>
        <td><a href="/oauth2Login">demo auth server</a></td>
    </tr>
</table>
</body>

</html>